package com.morty.businessLog.sevice;

import com.morty.config.model.TableModifyLog;

import java.io.IOException;
import java.util.List;

public interface BusinessLogService {

	/**
	 * 向索引中增加数据
	 * @param tableModifyLog
	 * @throws IOException
	 */
	int addIdxData(TableModifyLog tableModifyLog) throws IOException;

	/**
	 * 按照条件查询不分页（导出用）
	 * @param tableModifyLog
	 * @return
	 * @throws Exception
	 */
	List<TableModifyLog> getByConditions (TableModifyLog tableModifyLog) throws Exception;

}
